Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test "expect_grouped_row_values_to_have_recent_data" #49

Merged
merged 2 commits into from
Apr 22, 2021

Conversation

clausherther
Copy link
Contributor

Closes #47

Usage:

  - name : timeseries_data_grouped
    tests :
        - dbt_expectations.expect_grouped_row_values_to_have_recent_data:
            group_by: [group_id]
            timestamp_column: date_day
            datepart: day
            interval: 1
        - dbt_expectations.expect_grouped_row_values_to_have_recent_data:
            group_by: [group_id, row_value]
            timestamp_column: date_day
            datepart: day
            interval: 1

@clausherther clausherther merged commit 9131e47 into main Apr 22, 2021
@clausherther clausherther deleted the add/expect_grouped_row_values_to_have_recent_data branch April 22, 2021 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a test to check for recent rows at each grouping level
1 participant